package com.example.panpan.Service;

import com.example.panpan.domain.GoodsEntity;
import com.example.panpan.domain.GoodsResponse;

import java.util.List;

public interface GoodsService {
    List<GoodsResponse> getGoods(String title);

    GoodsEntity getGoodsById(int id);

    void insertEntity(GoodsEntity goodsEntity);

    void updateEntity(GoodsEntity goodsEntity);

    List<GoodsEntity> goodsList(String cid, int pageSize, int start);

    Integer goodsSize(String cid, int pageSize, int start);

    void deleteGoods(List<String> groupId);
}
